improper integrals via residue theorem